﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UA.Data.Model;

namespace UA.Framework.Views
{
    public class UpdatePwdView : ViewBase<User>
    {
        /// <summary>
        /// 原密码
        /// </summary>
        [Required]
        [StringLength(32, MinimumLength = 1)]
        [Display(Name = "原密码")]
        public string Password { get; set; }

        /// <summary>
        /// 新密码
        /// </summary>
        [Required]
        [StringLength(32, MinimumLength = 1)]
        [Display(Name = "新密码")]
        public string NewPassword { get; set; }


        /// <summary>
        /// 新密码确认
        /// </summary>
        [Required]
        [StringLength(32, MinimumLength = 1)]
        [Display(Name = "密码确认")]
        public string NewPasswordConfirm { get; set; }


    }
}
